package easybooking.data;

/**
 * Exemplary Interface of a Seat.
 *
 * @author Hakan Keles
 *
 */
// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.106BCE58-451F-CB80-8E76-3B571EB08668]
// </editor-fold> 
public interface Seat extends java.rmi.Remote {

    /**
     * Association to the plane, which contains the seats.
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.591FB990-7FEB-BE8E-F7EB-9E261D9EEEBF]
    // </editor-fold> 
    public static final Plane belongs_to = null;

    /**
     * Read-out the ID of the seat.
     * @return ID
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.8EBF7AC6-FC50-0FDA-7BAD-7E7675D7D80C]
    // </editor-fold> 
    public int getSeatId() throws java.rmi.RemoteException;

    /**
     * Read-out the row of a seat.
     * @return number of rows
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.F0753475-08FC-6E7F-04A0-B4C11ABAFF03]
    // </editor-fold> 
    public int getRow() throws java.rmi.RemoteException;

    /**
     * Read-out the seat of a customer.
     * @return The seat
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.ED3E04C1-36C1-1E5D-6870-5110351D0648]
    // </editor-fold> 
    public char getSeat() throws java.rmi.RemoteException;

    /**
     * Read-out the status of the seat.
     * @return status
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.921503F0-61CC-C511-6D52-3109906741F1]
    // </editor-fold> 
    public boolean getIsActive() throws java.rmi.RemoteException;

    /**
     * Read-out the ID of the plain, which contains the seats.
     * @return ID
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.F41BC0D9-EEFC-F223-B16E-4711200DFA3C]
    // </editor-fold> 
    public int getPlaneId() throws java.rmi.RemoteException;

    /**
     * Set the ID of the seat.
     * @param seatId The id of the seat.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.B97BD274-1BBF-6608-6515-345B8039D32A]
    // </editor-fold> 
    public void setSeatId(int seatId) throws java.rmi.RemoteException;

    /**
     * Set the row a seat.
     * @param row The number of rows.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.EEBC7C93-A3EB-3A4D-5E88-76DFA99F3CBD]
    // </editor-fold> 
    public void setRow(int row) throws java.rmi.RemoteException;

    /**
     * Set the seat of a customer.
     * @param seat The setted seat.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.34F20DC4-065C-CEF3-2381-7D60F4721E62]
    // </editor-fold> 
    public void setSeat(char seat) throws java.rmi.RemoteException;

    /**
     * Set the status of the seat.
     * @param status The status of the seat.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.6F900AEA-A539-5BFB-5E77-2B687E3FA605]
    // </editor-fold> 
    public void setIsActive(boolean status) throws java.rmi.RemoteException;

    /**
     * Set the ID of the associated plane.
     * @param planeId The ID of the plane.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.1D80336A-7A96-C8D1-EB52-1CE3A176007E]
    // </editor-fold> 
    public void setPlaneId(int planeId) throws java.rmi.RemoteException;
//    public void setSeat(String seat) throws java.rmi.RemoteException;
}

